package com.crpc.common.crpcEnum;

import lombok.Getter;

@Getter
public enum CompressorEnums {
    GZIP((byte) 1, "gzip"),
    ZIP((byte) 2, "zip"),
    LZ4((byte) 3, "zip");

    private final byte code;
    private final String type;

    CompressorEnums(byte code, String type) {
        this.type = type;
        this.code = code;
    }

}